package com.youlai.boot.system.model.form;

import java.io.Serial;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import jakarta.validation.constraints.*;

/**
 * 交易记录表表单对象
 *
 * @author youlaitech
 * @since 2025-02-27 15:58
 */
@Getter
@Setter
@Schema(description = "交易记录表表单对象")
public class TransactionForm implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @NotNull(message = "不能为空")
    private Integer id;

    @Schema(description = "汇款方")
    private Long fromUser;

    @Schema(description = "收款方")
    private Long toUser;

    @Schema(description = "关联垃圾主表")
    private Integer requestId;

    @Schema(description = "交易金额")
    private BigDecimal amount;


}
